core: Fix default value of disable_xattrs
authorColin Walters <walters@verbum.org>
Tue, 4 Apr 2017 00:35:58 +0000 (20:35 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 4 Apr 2017 15:54:46 +0000 (15:54 +0000)
Sigh.  Rather awful regression from https://github.com/ostreedev/ostree/pull/759

Closes: #775
Approved by: jlebon

src/libostree/ostree-repo.c
tests/test-remote-gpg-import.sh

index 5e0a93ec701f3e65a9dcf29b8a6b689a94bbd8af..a8789b0e06b949b23db7dc2c75aaf48cd58e7dfe 100644 (file)
@@ -2075,7 +2075,7 @@ reload_core_config (OstreeRepo          *self,
 
   /* See https://github.com/ostreedev/ostree/issues/758 */
   if (!ot_keyfile_get_boolean_with_default (self->config, "core", "disable-xattrs",
-                                            TRUE, &self->disable_xattrs, error))
+                                            FALSE, &self->disable_xattrs, error))
     return FALSE;
 
   { g_autofree char *tmp_expiry_seconds = NULL;
index 4429d8bcd2999e7b5e5d5110e6e260e333fe4587..a580378521b0463354c8d61fe554359692d0da34 100755 (executable)
@@ -30,7 +30,7 @@ echo "1..4"
 
 cd ${test_tmpdir}
 mkdir repo
-${OSTREE} init
+ostree_repo_init repo
 
 #----------------------------------------------
 # Test synchronicity of keyring file and remote